<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <!-- 引入公用部分 -->
    <!--<script th:replace="common/head::static"></script>-->
    <!-- 样式 -->
    <link th:href="@{/sys/authority/css/authority.css}" rel="stylesheet" type="text/css"/>
    <script src="https://www.layuicdn.com/auto/layui.js" v="2.5.4" e="layui"></script>
</head>
<body>
<div class="layui-col-md6">
    <div class="layui-card">
        <div class="layui-card-header">基本信息</div>
        <div class="layui-card-body">
            <form id="bookCardForm" class="layui-form layui-form-pane">
                <div class="layui-form-item">
                    <label class="layui-form-label">头像</label>
                    <div class="layui-input-block">
                        <div class="layui-upload">
                            <button type="button" class="layui-btn" id="headPic">上传图片</button>
                            <div class="layui-upload-list">
                                <img class="layui-upload-img" id="headPicView">
                            </div>
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">姓名</label>
                    <div class="layui-input-block">
                        <input type="text" name="userName" autocomplete="off" placeholder="姓名"
                               class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">身份证号码</label>
                    <div class="layui-input-block">
                        <input type="text" name="idCode" autocomplete="off" placeholder="身份证号码"
                               class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">出生年月</label>
                    <div class="layui-input-block">
                        <input type="text" name="birthAge" autocomplete="off" placeholder="出生年月"
                               class="layui-input">
                    </div>
                </div>

                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <a class="layui-btn" onclick="bookCardFormSave()">提交</a>
                    </div>
                </div>

            </form>

        </div>
    </div>
</div>
</body>
<script th:src="@{/sys/bookcard/js/add.js}"></script>
</html>